package com.hksj.Intelligentmanagement.dto;


import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

@Data
@ApiModel
@EqualsAndHashCode
public class NurseLevelDTO{

    @ApiModelProperty(value = "护士等级id,修改时传值")
    @NotBlank(message = "护士等级id不为空",groups = Update.class )
    private String id;

    @ApiModelProperty(value = "等级名称")
    @NotBlank(message = "等级名称不为空",groups = {Create.class})
    private String levelName;

    @ApiModelProperty(value = "排序号")
    private Integer sortNo;

    @ApiModelProperty(value = "护士名称")
    private String nurseName;

    @ApiModelProperty("人员类型  1 = 护士  2 = 麻醉")
    @JsonIgnore
    private Integer type;

    public interface Create{
    }

    public interface Update{
    }



}
